<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
    <title>登录页面</title>  
    <style>  
        body{  
       font-family: Arial, sans-serif;  
                   background-color: #f0f0f0;  
                   display: flex;  
                   justify-content: center;  
                   align-items: center;  
                   height: 100vh;  
                   margin:0;}
        .login-container {  
            background-color: white;  
            padding:20px;
            border-radius: 8px;  
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);  /*加上外边框阴影*/
            width: 300px;  
            text-align: center;  
        }  
        .login-container h2 {  
            margin-bottom: 20px;  
            color: #333;  
        }  
        .input-group {  
            margin-bottom: 15px;  
            text-align: left;  
        }  
        .input-group label {  
            display: block;
            margin-bottom: 5px;  
            color: #666;  
        }  
        .input-group input {  
            width: calc(100% - 22px);   
			padding: 10px;  
            border: 1px solid #ccc;  
            border-radius: 4px;  
        }  
        .login-button {  
            background-color: green;  
            color: white;  
            padding: 10px 20px;  
            border: none;  
            border-radius: 4px;   
            font-size: 16px;  
        }  
        .login-button:hover {  
            background-color: #4CAF50;  
        }  
    </style>  
</head>
<body>  
    <div class="login-container">  
        <h2>登录</h2>  
		   <form action="demo1.html" method="GET">  
        <div class="input-group">  
            <label for="username">用户名：</label>  
            <input type="text" id="username" name="username" required>  
        </div>  
        <div class="input-group">  
            <label for="password">密码：</label>  
            <input type="password" id="password" name="password" required>  
        </div>  
        <button class="login-button" type="submit">登录</button>  
    </div>  
</body>  
</html>